﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using StarClub.Model;

namespace StarClub.Web.Admin
{
    public partial class Admin : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public StarClub.Model.star_user UserInfo
        {
            get
            {
                if (Session[SystemDefinition.SystemUser] != null)
                    return (StarClub.Model.star_user)Session[SystemDefinition.SystemUser];
                else
                    Server.Transfer("~/Error.aspx?t=登录超时&msg=登录超时，请重新登录");
                return null;
            }
        }
    }
}
